﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;

namespace Assign6
{
    class WebMethodCollection : Collection<WebMethod>
    {
        public string serviceName;
        public string bindingName;
        public string portTypeName;
        public string webServiceEndpoint;
        public WebMethodCollection() : base() { }

        public void setServiceName(string _serviceName)
        {
            serviceName = _serviceName;
        }
        public void setPortTypeName(string _portTypeName)
        {
            portTypeName = _portTypeName;
        }
        public void setBindingName(string _bindingName)
        {
            bindingName = _bindingName;
        }
        public void setWebServiceEndpoint(string _webServiceEndpoint)
        {
            webServiceEndpoint = _webServiceEndpoint;
        }
        
        
        
     /*   protected override string GetKeyForItem(WebMethod webMethod)
        {
            return webMethod.Name;
        }*/
    }
}
